'use strict';

/**
 * @param {Egg.Application} app - egg application
 */
module.exports = app => {
  const { router, controller } = app;
  router.get('/', controller.home.index);
  router.get('/news', controller.news.index);
  router.get('/events', controller.events.index);
  router.get('/research', controller.research.index);
  router.get('/research_detail', controller.researchDetail.index);
  router.get('/publication', controller.publication.index);
  router.get('/books', controller.publication.index);
  router.get('/patents', controller.publication.index);
  router.get('/members', controller.member.index);
  router.get('/tan', controller.member.index);
  router.get('/faculty_staff', controller.member.index);
  router.get('/phd', controller.member.index);
  router.get('/ms', controller.member.index);
  router.get('/alumni', controller.member.index);
  router.get('/fellows', controller.member.index);
  router.get('/contact', controller.contact.index);
};
